import {axios} from '@/utils/request'

export function queryUserStats (parameter) {
  return axios({
    url: '/stats/user',
    method: 'post',
    data: parameter
  })
}

export function queryBikeStatsTotal (parameter) {
  return axios({
    url: '/stats/bikeTotal',
    method: 'post',
    data: parameter
  })
}

export function queryPayTotal (parameter) {
  return axios({
    url: '/stats/payTotal',
    method: 'post',
    data: parameter
  })
}

export function queryDuringTotal (parameter) {
  return axios({
    url: '/stats/duringTotal',
    method: 'post',
    data: parameter
  })
}

export function queryDuringAndCost (parameter) {
  return axios({
    url: '/stats/duringAndCost',
    method: 'post',
    data: parameter
  })
}
